//-----------------------------------------------------------------------
//<copyright file="ThanhToan.cs" company="MinhSong">
//Copyright (c) MinhSong. All rights reserved.
//</copyright>
//-----------------------------------------------------------------------
using System;
using System.Runtime.Serialization;

namespace PMS.Entity
{
	public class ThanhToan: ChiTietPhieuXuat
	{
		#region Variable Declarations

		private string m_MaTT;
		private DateTime m_NgayTT;
		private string m_PhuongThucTT;
		private int m_SoTien;
		private string m_GhiChu;

		#endregion

		#region Constructors

		public ThanhToan() {}
		public ThanhToan(
			string maTT,
			DateTime ngayTT,
			string phuongThucTT,
			int soTien,
			string ghiChu,
			string maCTPX)
		{
			m_MaTT = maTT;
			m_NgayTT = ngayTT;
			m_PhuongThucTT = phuongThucTT;
			m_SoTien = soTien;
			m_GhiChu = ghiChu;
			base.MaCTPX = maCTPX;
		}

		#endregion

		#region Properties

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string MaTT
		{
			get { return m_MaTT; }
			set { m_MaTT = value;
				OnPropertyChanged("MaTT");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is DateTime</value>
		[DataMember]
		public DateTime NgayTT
		{
			get { return m_NgayTT; }
			set { m_NgayTT = value;
				OnPropertyChanged("NgayTT");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string PhuongThucTT
		{
			get { return m_PhuongThucTT; }
			set { m_PhuongThucTT = value;
				OnPropertyChanged("PhuongThucTT");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is int</value>
		[DataMember]
		public int SoTien
		{
			get { return m_SoTien; }
			set { m_SoTien = value;
				OnPropertyChanged("SoTien");
		}
		}

		/// <summary>
		///
		/// </summary>
		///<value>This type is string</value>
		[DataMember]
		public string GhiChu
		{
			get { return m_GhiChu; }
			set { m_GhiChu = value;
				OnPropertyChanged("GhiChu");
		}
		}



		#endregion
	}
}//End Class
